package com.wandian.news.bean;

import java.util.List;

/**
 * @author Administrator
 * @date 2020/12/5-22:22
 * @description
 **/
public class KnowledgeTSDQBean {

    /**
     * code : 200
     * msg : success
     * newslist : [{"title":"杜鹃","content":"西川有杜鹃，东川无杜鹃。涪万无杜鹃，云安有杜鹃。我昔游锦城，结庐锦水边。有竹一顷馀，乔木上参天。杜鹃暮春至，哀哀叫其间。我见常再拜，重是古帝魂。生子百鸟巢，百鸟不敢嗔。仍为喂其子，礼若奉至尊。鸿雁及羔羊，有礼太古前。行飞与跪乳，识序如知恩。圣贤古法则，付与后世传。君看禽鸟情，犹解事杜鹃。今忽暮春间，值我病经年。身病不能拜，泪下如迸泉。","author":"杜甫"}]
     */

    private int code;
    private String msg;
    private List<NewslistBean> newslist;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<NewslistBean> getNewslist() {
        return newslist;
    }

    public void setNewslist(List<NewslistBean> newslist) {
        this.newslist = newslist;
    }

    public static class NewslistBean {
        /**
         * title : 杜鹃
         * content : 西川有杜鹃，东川无杜鹃。涪万无杜鹃，云安有杜鹃。我昔游锦城，结庐锦水边。有竹一顷馀，乔木上参天。杜鹃暮春至，哀哀叫其间。我见常再拜，重是古帝魂。生子百鸟巢，百鸟不敢嗔。仍为喂其子，礼若奉至尊。鸿雁及羔羊，有礼太古前。行飞与跪乳，识序如知恩。圣贤古法则，付与后世传。君看禽鸟情，犹解事杜鹃。今忽暮春间，值我病经年。身病不能拜，泪下如迸泉。
         * author : 杜甫
         */

        private String title;
        private String content;
        private String author;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }
    }
}
